package com.sang.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("tb_sku")
@Data
@AllArgsConstructor
public class TbSku implements Serializable {
    private String id;
//    private String sn;
    private String name;
    private int price;
    private int num;
    private int alertNum;
    private String image;
    private String images;
    private int weight;
    private Date createTime;//这两个mybatis_plus好像可以自动映射
    private Date updateTime;
    private String spuId;
    private int categoryId;
    private String categoryName;
    private String brandName;
    private String spec;
    private int saleNum;
    private int commentNum;
    private char status;
}
